package com.dong.environment.propertysource;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * description
 *
 * @author Administrator 2021/09/06 18:14
 */
public class MyTest {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AppConfig.class);

        final MyBean bean = context.getBean(MyBean.class);
        System.out.println(bean);
    }
}
